package com.soxing.braindata.service.manager;

import com.soxing.braindata.dao.domain.request.ResearchSearchRequest;
import com.soxing.braindata.dao.domain.vo.TinyResearch;
import com.soxing.braindata.dao.entity.Research;
import com.soxing.braindata.domain.response.RStat;
import com.soxing.braindata.domain.response.SStat;
import com.soxing.braindata.domain.vo.ResearchVo;
import com.soxing.common.utils.response.MyPage;
import com.soxing.common.utils.response.WebResponse;

/**
 * @author :durango
 * @date :2022/6/11 16:27
 * @description 课题管理接口
 */
public interface IResearchManager extends IManager<Research> {

    WebResponse<MyPage<TinyResearch>> search(ResearchSearchRequest researchSearchRequest);

    WebResponse<ResearchVo> getVoById(Integer id);

    WebResponse<Research> getBysubjectPkId(String subjectPkId);

    WebResponse<MyPage<Research>> getByResearchByUser(String userNum,int pageSize,int pageNum);

    WebResponse<RStat> getResearchStatByUser(String userNum);

    WebResponse<RStat> getResearchStat(String subjectPkId);
}
